<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/24
 * Time: 20:46
 */

class Book extends Shop
{
    public $author;
    public $chubanshe;

    function introduce()
    {
        echo "名  称：".$this->name."<br>";
        echo "价  格：".$this->price."<br>";
        echo "库存数：".$this->num."<br>";
        echo "作  者：".$this->author."<br>";
        echo "出版社：".$this->chubanshe."<br>";
    }
}